<%inherit file="/base.mako"/>\
<%def name="header()">${c.title}</%def> 

<form name="make_req" method="POST" action="/client/make_req">
    Basic Information:<br>
    <input name="surname"> First Name<br>
    <input name="lastname"> Last Name<br>
    <input name="address"> Address<br>
    <input name="zip"> Zip Code<br><br>
    <input name="birthdate"> Birth Date<br>
    <input name="phone"> Phone Number<br><br>

	Subject:<br>
	<input name="country" value="CH"> Country<br>
	<input name="state" value="ZH"> State<br>
	<input name="location" value="Zurich"> Location<br>
	<input name="organisation" value="WWF Schweiz"> Organisation<br>
	<input name="organisation_unit" value="Information Technology"> Organisation Unit<br>
	<input name="common_name" value="client_01"> Common Name<br>
	<input name="email" value="requestor@webca.org"> E-Mail Address<br>

	<br>
	<button value="make_req" name="submit">Generate CSR</button>
	<br><br>
</form>
Upload CSR:<br>
<form method="POST" action="/client/make_req" enctype="multipart/form-data">
	<input type="file" name="filename">
	<button value="upload" name="submit">Upload</button> <br><br>
	You can create a request using the following command: <i>$ openssl req -new -nodes -keyout req.key -out req.csr<i/>
</form>
<br>
Output:
<b>
<PRE>
${c.stderr_value} 
</PRE>	
</b>	
